USE [BusSystem]
GO

/****** Object:  Table [dbo].[Bus_BusOilManage]    Script Date: 05/23/2010 23:58:12 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Bus_BusOilManage](
	[RecID] [int] IDENTITY(1,1) NOT NULL,
	[DocID] [varchar](20) NOT NULL,
	[BusID] [varchar](20) NOT NULL,
	[CompanyID] [varchar](20) NOT NULL,
	[CompanyName] [nvarchar](50) NOT NULL,
	[DriverID] [varchar](20) NOT NULL,
	[OilCardNO] [varchar](20) NULL,
	[OilDate] [smalldatetime] NOT NULL,
	[OilCardRecharge] [decimal](18, 0) NULL,
	[OilCostByCard] [decimal](18, 0) NULL,
	[OilVolumeByCard] [decimal](18, 0) NULL,
	[OilCostByCash] [decimal](18, 0) NULL,
	[OilVolumeByCash] [decimal](18, 0) NULL,
	[OdometerBus] [decimal](18, 0) NULL,
	[OdometerGPS] [decimal](18, 0) NULL,
	[RecAcct] [varchar](20) NOT NULL,
	[RecDate] [smalldatetime] NOT NULL,
	[RecDivID] [varchar](20) NOT NULL,
	[Note] [nvarchar](50) NULL,
	[UserAcct] [varchar](20) NOT NULL,
	[LastUpdateDate] [smalldatetime] NOT NULL,
 CONSTRAINT [PK_Bus_BusOilManage] PRIMARY KEY CLUSTERED 
(
	[DocID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


